package com.wb.designmode.Interpreter;

import java.util.HashMap;
import java.util.Map;

/**
 * 表数据分析
 */
public class Context {

    private String tableName;       // 表名称
    private Map<String, Object> params = new HashMap<>();           // 修改时更新后的数据
    private Map<String, Object> wheres = new HashMap<>();           // where 语句后的条件

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public Map<String, Object> getWheres() {
        return wheres;
    }

    public void setWheres(Map<String, Object> wheres) {
        this.wheres = wheres;
    }
}
